using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace OpenWeb.Dal.Models
{ 
    
    public  class Reminder
    {

      #region Primitive Properties
      [Key]
      [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
      [Required]
      public virtual int ID
      {
        get;
        set;
      }

      [Required]
      public virtual System.DateTime Date
      {
        get;
        set;
      }
      //[Required]
      public virtual Nullable<int> Hour
      {
        get;
        set;
      }
      //[Required]
      public virtual Nullable<int> Minutes
      {
        get;
        set;
      }
      //[Required]
      public virtual Nullable<int> ForewarningMin
      {
        get;
        set;
      }
      //[Required]
      [MaxLength(500)]
      public virtual string Notes
      {
        get;
        set;
      }
      //[Required]
      [MaxLength(200)]
      public virtual string Location
      {
        get;
        set;
      }

      #endregion
    
        public virtual Contact Contacts { get; set; }
    }
}
